{include file="ikf_include_top" /}
<title>{notempty name="list_title"}{$list_title}{else /}{$list_name}列表,{$list_name}大全,{$list_name}资料{/notempty}{neq name="list_page" value="1"}第{$list_page}页{/neq} - {$sitename}</title>
<meta name="keywords" content="{$list_name}{notempty name="list_keywords"},{$list_keywords}{/notempty}">
<meta name="description" content="{$list_description}">
{include file="zp_include" /}
</head>
<body class="zanpian-mobile">
{include file="zp_header" /}
<div class="container">
  <div class="row">
    <div class="list-mcat clearfix">
      <div class="content-menu clearfix"><a class="head" href="javascript:;" data-toggle="collapse" data-target="#collapse"><span class="text">已选择</span><i class="conbread"><span>{$list_name}</span>{notempty name="param.mcid"}<span>{$param.mcid,$list_id|mcat_name}</span>{/notempty}{notempty name="param['area']"}<span>{$param['area']}</span>{/notempty}{notempty name="param['year']"}<span>{$param['year']}</span>{/notempty}{notempty name="param['letter']"}<span>{$param['letter']}</span>{/notempty}</i></a><span class="conreset" id="conreset"><a href="javascript:" data="id-{notempty name="list_pid"}{$list_pid}{else/}{$list_id}{/notempty}">重新筛选</a></span>  
      
        <div class="item collapse list_type" id="collapse">
          {php}$array_listid = getlistall($list_pid);{/php}
          
          {if condition="(!empty($array_list)) or (!empty($array_listid))"}            
          <ul class="clearfix">
            <li class="text"><span class="text-muted">按分类</span></li>
            {notempty name="array_list"}
            <li><a {eq name="list_pid" value="0"}class="active"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="id-{$list_pid}">全部</a></li>
            {volist name="array_listid" id="zplist"}
            <li><a {eq name="list_id" value="$zplist.list_id"}class="active"{/eq} href="{$zplist.list_url}" title="{$zplist.list_name}" data="id-{$zplist.list_id}">{$zplist.list_name}</a></li>
            {/volist}
            {else /}
            <li><a {eq name="list_pid" value="0"}class="active"{/eq} href="{:zanpian_type_url('home/vod/type',array('id'=>$list_id,'dir'=>$list_dir,'mcid'=>$param['mcid'],'area'=>urlencode($param['area']),'year'=>$param['year'],'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="id-{$list_id}">全部</a></li>
             {volist name="array_list" id="zplist"}
            <li><a {eq name="list_id" value="$zplist.list_id"}class="active"{/eq} href="{$zplist.list_url}" title="{$zplist.list_name}" data="id-{$zplist.list_id}">{$zplist.list_name}</a></li>
            {/volist}
            {/notempty}
          </ul> 
          {/if}
          <ul class="clearfix">
            <li class="text"><span class="text-muted">按性别</span></li>
            <li><a  {empty name="param.sex"}class="active"{/empty} href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>"",'zy'=>$param['zy'],'area'=>urlencode($param['area']),'letter'=>$param['letter'],'order'=>$param['order']))}" title="全部" data="sex-0">全部</a></li>
             <li><a {eq name="$param['sex']" value="男"}class="active"{/eq} href='{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode("男"),'zy'=>$param['zy'],'area'=>urlencode($param['area']),'letter'=>$param['letter'],'order'=>$param['order']))}'  data="sex-%E7%94%B7">男</a></li>
            <li><a {eq name="$param['sex']" value="女"}class="active"{/eq} href='{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode("女"),'zy'=>$param['zy'],'area'=>urlencode($param['area']),'letter'=>$param['letter'],'order'=>$param['order']))}' data="sex-%E5%A5%B3">女</a></li>
          </ul> 
          {php}$arrayzy=array("演员","歌手","模特","主持","导演","制片","监制","编剧","配音");{/php}
          <ul class="clearfix">
            <li class="text"><span class="text-muted">按职业</span></li>
            <li><a {empty name="param.zy"}class="active"{/empty} href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>"",'area'=>urlencode($param['area']),'letter'=>$param['letter'],'order'=>$param['order']))}" data="zy-0">全部</a></li>
             {volist name="arrayzy" id="zy" offset="0" length='13'}  
             <li><a {eq name="$zy" value="$param['zy']"}class="active"{/eq} href='{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($zy),'area'=>urlencode($param['area']),'letter'=>$param['letter'],'order'=>$param['order']))}'  data="zy-{$zy|urlencode}">{$zy}</a></li>
{/volist}

          </ul>             
                 
          <ul class="clearfix">
            <li class="text"><span class="text-muted">按地区</span></li>
            <li><a  {empty name="param.area"}class="active"{/empty} href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($zy),'area'=>"",'letter'=>$param['letter'],'order'=>$param['order']))}" data="area-0">全部</a></li>
            {volist name="s_area" id="area" offset="0" length='13'}
            <li><a  {eq name="area" value="$param['area']"}class="active"{/eq} href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($zy),'area'=>urlencode($area),'letter'=>$param['letter'],'order'=>$param['order']))}" title="{$area}" data='area-{$area|urlencode}'>{$area}</a></li>
            {/volist}
          </ul>
          <ul class="letter hidden-xs clearfix">
          <li class="text"><span class="text-muted">按字母</span></li>
            <li><a {empty name="param.letter"}class="active"{/empty}  href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($param['zy']),'area'=>urlencode($area),'letter'=>"",'order'=>$param['order']))}"   data="letter-0">全部</a></li>
            {volist name="s_letter" id="letter"}
            <li><a {eq name="letter" value="$param['letter']"}class="active"{/eq} href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($param['zy']),'area'=>urlencode($area),'letter'=>$letter,'order'=>$param['order']))}" title="{$letter}" data='letter-{$letter}'>{$letter}</a></li>
            {/volist}
            <li><a {eq name="param.letter" value="0,1,2,3,4,5,6,7,8,9"}class="active"{/eq} href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($param['zy']),'area'=>urlencode($area),'letter'=>'0,1,2,3,4,5,6,7,8,9','order'=>$param['order']))}" title="0-9" data='letter-0,1,2,3,4,5,6,7,8,9'>0-9</a></li>
          </ul>
        </div>
      </div>
    </div>  
{php}$ii=0;
    if($param['order'])
    $s_order=$param['order']." desc";
    else
    $s_order="addtime desc";  
	$list = zanpian_mysql_star('limit:30;field:star_id,star_cid,star_name,star_flower,star_letters,star_pic,star_gj,star_zy,star_area,star_hits;letter:'.$param[letter].';sex:'.$param[sex].';zy:'.$param[zy].';area:'.$param[area].';page:true;p:'.$list_page.';order:star_'.$s_order.';');
	{/php} 
    <div class="layout-box clearfix" style="margin-top: 30px;">
    <div class="box-switch-tabs active clearfix">
    <span class="text-muted pull-right hidden-xs" id="count">共有<span class="text-color">“{$list.0.page.pagecount|default='0'}”</span>位明星,当前第<span class="text-color">“{$list_page}”</span>页</span>
        <ul class="nav nav-tabs ajax-nav-tabs">
          <li {eq name="param.order" value="addtime"}class="active"{/eq}{empty name="param.order"}class="active"{/empty}><a href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($param['zy']),'area'=>urlencode($param['area']),'letter'=>$param['letter'],'order'=>"addtime"))}" data="order-addtime">按时间</a></li>
          <li {eq name="param.order" value="hits"}class="active"{/eq}><a href="{:zanpian_type_url('home/star/type',array('id'=>$list_id,'dir'=>$list_dir,'sex'=>urlencode($param['sex']),'zy'=>urlencode($param['zy']),'area'=>urlencode($param['area']),'letter'=>$param['letter'],'order'=>"hits"))}" data="order-hits">按人气</a></li>
        </ul>
    </div>
    
    <div class="box-video-list">
     <div class="item">
          <ul class="clearfix" id="content">
           {notempty name="list"}
           {volist name="list" id="zanpian"}
            <li class="col-sm-3 col-xs-4">
            <a class="video-pic loading" data-original="{$zanpian.star_picurl}" href="{$zanpian.star_readurl}" title="{$zanpian.star_name}" >
            <span class="flower hidden-xs"></span><span class="fnum hidden-xs">{$zanpian.star_flower}</span><span class="note text-bg-c">{$zanpian.star_name}</span>
            </a>
            </li>
            {/volist}
            {else/}<div class="kong">抱歉，没有找到相关内容！</div>
            {/notempty}     
  </ul>
  </div>
   </div>
    <div class="box-page clearfix ajax-page" id="long-page"><ul>{$list.0.page.pageurl}</ul></div>
   </div>
</div>
</div>
<script>
var type_ajax_url="index.php?s=star-type";
var type_parms={"id":"{$list_id}","sex":"{$param['sex']}","zy":"{$param['zy']}","area":"{$param['area']}","letter":"{$param['letter']}","order":"{$param['order']}","picm":1,"p":1};
</script>
{include file="zp_footer" /}
</body>
</html>